package cn.heycm.blog.console.infra.dao.article.mapper;

import cn.heycm.blog.console.infra.dao.article.entity.ArticleHistory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ArticleHistoryMapper {

    int deleteByPrimaryKey(Long id);

    int insert(ArticleHistory record);

    int insertSelective(ArticleHistory record);

    ArticleHistory selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ArticleHistory record);

    int updateByPrimaryKey(ArticleHistory record);

    List<ArticleHistory> selectByArticleId(@Param("articleId") long articleId);
}
